package com.mmlc.meimei.lichengkongjian.been;

import android.graphics.Bitmap;

/**
 * Created by Administrator on 2016/7/20 0020.
 */
public class WaitReceivedBean {
    public Bitmap photo;
    public String orderNumber;//订单编号
    public String shopInfo;//商品信息
    public String shopColor;//商品颜色
    public String shopPrice;//商品价格
    public String date;
    public String confirmReceived;//是否确认收货,0:收货，1：未收货

    public void convertData() {
        orderNumber = "订单号: " + orderNumber;
        shopColor = "颜色: " + shopColor;
        shopPrice = "¥ " + shopPrice;

        int tmpReceived = Integer.parseInt(confirmReceived);
        if (tmpReceived == 1) {
            confirmReceived = "已确认";
        } else if (tmpReceived == 2) {
            confirmReceived = "确认收货";
        }
    }
}
